<!doctype html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="css/mstyle.css" />
		<style type="text/css">
			.news .topInfo{height:1rem;line-height: 1rem;border-bottom: 1px solid #1D1D1D;box-sizing: border-box;padding: 0 0.26rem;margin-top:5px;font-size: 0.3rem;}
			.news .topInfo i{font-style: normal;}
			.news .inner{width:9.6rem;margin:0 auto;}
			.news .inner img{display: block;width: auto;max-width:90%;margin:0 auto;}
		</style>
	</head>
	<body class="news">
		<!--navBar-->
		<header class="mui-bar mui-bar-nav">
			<span class="mui-icon mui-action-back mui-icon-left-nav mui-pull-left"></span>
			<h1 class="mui-title">要闻详情</h1>
		</header>
		<!--container-->
		<div class="mui-content" id='innerCont'>
			<p class="topInfo">
				<span class="timer">2017/12/04 12:14:52</span>
				<span class="source">&nbsp;&nbsp;&nbsp;来源：<i>东方财富网</i></span>
			</p>
			<div class="inner"></div>
		</div>
		<script src="js/mui.min.js"></script>
		<script src="js/webviewGroup.js" type="text/javascript" charset="utf-8"></script>
		<script src='libs/easymob-webim-sdk/jquery-1.11.1.js'></script>
		<script src='js/config.js'></script>
		<script src='js/temp.js'></script>
		<script src='js/mstock.js'></script>
		<script type="text/javascript"> 
			mui.init();
			mstcok().tabBarFun();
			var _id = location.href.split("?id=")[1];
			var _data = {
				action:'newsInfo',
				app:'app',
				id:_id
			}
			jQuery.ajax({
				type:'post',
				url:server.optSel,
				data:_data,
				dataType:'json',
				success:function(result){
					if(result.code==0){
						console.log(result)
						var data = result.data.list[0];
						jQuery('.timer').html(data.createTime);
						jQuery('.source i').html(data.source);
						jQuery('.inner').html(data.details);
					}else{
						mui.toast(result.msg);
					}
				},
				error:function(result){
					console.log(result);
				}
			})
		</script>
	</body>
</html>